<%
//主页
layout("/inc/layout.html",{
title:'智慧洛龙',
keywords:'智慧洛龙',
description:'智慧洛龙',
style:'index.css'
}){
%>

 <!--网站导航菜单-->
 <% include("/inc/nav_menu.html"){} %> 
  <!--事项导航菜单-->
<% include("/itemList/item_"+itemType+"_menu.html"){} %>  
<section class="container">
<div class="row mt15">
   <div class="panel panel-info">
	<div class="panel-body">
	 <!--事项菜单-->
				
			 <h1 class="text text-info">${decode(itemType,'person','个人','legal','法人','')}事项列表-共${pager.totalPage}页，${pager.total}条事项</h1>
              <hr></hr>
              	<div class="col-sm-12">
              <% if(isNotEmpty(itemsList)){ for(item in itemsList){ %>
					<div class="media">
						<div class="media-body">
						 <h3> 
						  <a href="/itemList/detail/${item.unid!}" style="text-decoration: none;" >${item.serviceName!}</a>
						</h3>
						</div>
						   
						<div class="media-right hidden-xs">
                            <div class="media-heading">
                            <input id="input-id" type="number" class="satr-rating" value="${item.starLevel!}" >
                            </div>
                        </div>
						
							<div class="media-bottom">
							<div class="pull-left">
						           受理部门：${item.deptName!}
							</div>
							<div class="pull-right">
							    <a href="/itemList/detail/${item.unid!}" class="btn btn-primary btn-outline"><i class="iconfont icon-zhinanzhen" aria-hidden="true">办事指南</i></a>
                               <a href="/unifyDeclare/info/${item.serviceCode!}" class="btn btn-primary btn-outline"><i class="iconfont icon-qianzhengbanli" aria-hidden="true">在线办理</i></a>
							 <a href="javaScript:alert('功能正在建设中，暂无法评价！')" class="btn btn-primary btn-outline"><i class="iconfont icon-pingjia" aria-hidden="true">评价</i></a>
							</div>
						</div>
						
					</div>
					<hr>
					<%}}else{%>
					<div class="col-sm-12">
						<div class="text">暂时无相关办理事项</div>
					</div>
					<%}%>
				</div>
			</div>

		<section class="center-block text-center">
				<div class="col-sm-page-12">
					<ul class="pagination">
						<li><a href="/itemList/${itemType!}-${pager.start}-${itemZT}-${itemDX}-${itemHD}-${deptCode}"
							aria-label="First"><span aria-hidden="true">首页</span></a></li>
						<li><a href="/itemList/${itemType!}-${pager.pre}-${itemZT}-${itemDX}-${itemHD}-${deptCode}"
							aria-label="Previous"><span aria-hidden="true">上一页</span></a></li>
						<li><a href="" aria-label="Previous"><span
								aria-hidden="true">第&nbsp;${pager.pageNum}/${pager.totalPage}&nbsp;页</span></a></li>
						<li><a href="/itemList/${itemType!}-${pager.next}-${itemZT}-${itemDX}-${itemHD}-${deptCode}"
							aria-label="Next"><span aria-hidden="true">下一页</span></a></li>
						<li><a href="/itemList/${itemType!}-${pager.offset}-${itemZT}-${itemDX}-${itemHD}-${deptCode}"
							aria-label="Last">尾页</a></li>
					</ul>
				</div>
			</section>

		</div>
      </div>
</section>





<% } %>
<script>
    require(['modules/implement'], function (implement) {
    	implement.list();
    });
</script>
</body>
</html>